
public class Level {
	private int numFloorsDuration, minGaps, maxGaps, floorsOnScreen;
	private double floorsSpeed;
	
	public Level(int numFloorsDuration, int minGaps, int maxGaps, int floorsOnScreen, double floorsSpeed)
	{
		this.numFloorsDuration = numFloorsDuration;
		this.minGaps = minGaps;
		this.maxGaps = maxGaps;
		this.floorsOnScreen = floorsOnScreen;
		this.floorsSpeed = floorsSpeed;
	}
	
	public Level(Level l)
	{
		this.numFloorsDuration = l.numFloorsDuration;
		this.minGaps = l.minGaps;
		this.maxGaps = l.maxGaps;
		this.floorsOnScreen = l.floorsOnScreen;
		this.floorsSpeed = l.floorsSpeed;
	}

	public int getNumFloorsDuration() {
		return numFloorsDuration;
	}

	public int getMinGaps() {
		return minGaps;
	}

	public int getMaxGaps() {
		return maxGaps;
	}

	public int getFloorsOnScreen() {
		return floorsOnScreen;
	}

	public double getFloorsSpeed() {
		return floorsSpeed;
	}
	
	public int getInterFloorSpaces(Game g){
		return (int) (g.HEIGHT/(getFloorsOnScreen()*floorsSpeed));
	}

	public void setNumFloorsDuration(int numFloorsDuration) {
		this.numFloorsDuration = numFloorsDuration;
	}

	public void setMinGaps(int minGaps) {
		this.minGaps = minGaps;
	}

	public void setMaxGaps(int maxGaps) {
		this.maxGaps = maxGaps;
	}

	public void setFloorsOnScreen(int floorsOnScreen) {
		this.floorsOnScreen = floorsOnScreen;
	}

	public void setFloorsSpeed(double floorsSpeed) {
		this.floorsSpeed = floorsSpeed;
	}
}
